-- GENERATED SPELL FOR [Greta Mosshoof] --


function spell0_10922(pUnit, Event) --@Mark of the Wild,n/a--
pUnit:FullCastSpellOnTarget(9884,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10922', 622, 1)
end

function Sorts_10922(pUnit, Event)
local choix_sorts_10922 = math.random(0, 0)
if choix_sorts_10922 == 0 then
pUnit:RegisterEvent('spell0_10922', 1, 1)
end
end

function mob10922_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10922', math.random(1500, 3000), 1)
end

function mob10922_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10922_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10922_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10922, 1, 'mob10922_Action')
RegisterUnitEvent(10922, 2, 'mob10922_Leave')
RegisterUnitEvent(10922, 3, 'mob10922_Kill')
RegisterUnitEvent(10922, 4, 'mob10922_Die')
